package com.lintf.devdemo.service;

import com.lintf.devdemo.common.Result;
import com.lintf.devdemo.entity.po.ISysFileInfo;
import org.springframework.web.multipart.MultipartHttpServletRequest;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @ system:Window
 * @ author:lin tingfeng
 * @ data:2022/10/19-14:16
 * @ package_name:com.lintf.devdemo.service
 * @ project_name:DevDemo
 * @ desc:系统文件处理逻辑层
 */
public interface ISysFileInfoService{

    // 上传压缩文件
    List<ISysFileInfo> uploadCompress(MultipartHttpServletRequest files, String relatedPK, String relatedTable, String refType, int howBigNeedCompress) throws Exception;

    // 上传文件列表
    List<ISysFileInfo> uploadFileList();
}
